/*menu*/
.menu{
  background: url(../images/bg2.png);
  height: 70px;
  display: block;
  width: 100%;
}
.menu i{
    font-style: normal;
    color: #6e6e6e;
    position: absolute;
    left: 0;
    top:0;
}
.menu .logo{
   float: left;
   height: 70px;
   line-height: 70px;
}
.menu .ltext{
  float: left;
  height: 70px;
  line-height: 70px;
  margin-left: 20px;
}

#cssmenu{
    float: right;
}
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#cssmenu #menu-button {
  display: none;
}

#menu-line {
  position: absolute;
  top: 70px;
  left: 0;
  height: 3px;
  background: #5ba7e0;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu > ul > li > a {
  padding:0 20px;
  height: 70px;
  line-height: 70px;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #fff;
  background: #798791;
  opacity: 0.8;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 25px;
}

#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  z-index: 9999
}
#cssmenu ul ul ul{
  margin-left: 100%;
  top: 0;
  background: #666;
}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu.align-right li:hover > ul {
  right: 0;
}


#cssmenu ul ul li {
  height: 0;
  -webkit-transition: height .2s ease;
  -moz-transition: height .2s ease;
  -ms-transition: height .2s ease;
  -o-transition: height .2s ease;
  transition: height .2s ease;
  background: #333;
  opacity: 0.75;
  border-bottom: 1px solid #999;
}

#cssmenu ul li:hover > ul > li {
  height: 32px;
}

#cssmenu ul ul li a {
  padding: 10px 20px;
  width: 180px;
  font-size: 14px;
  text-decoration: none;
  color: #dddddd;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
  display: block;
}
#cssmenu ul ul li a.jright{
  background: url(../images/lright.png) no-repeat 135px center;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #5ba7e0;
}
#cssmenu ul ul ul a{
  display: block;
  width: 200px;
}
#cssmenu ul ul ul.open{
  margin-left: 0;
  background: #fff;
}
#cssmenu ul ul ul.open li{
  padding-left: 15px;
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #cssmenu {
    width: 100%;
  }
  #cssmenu ul {
    width: 100%;
    display: none;
  }
  #cssmenu.align-center > ul,
  #cssmenu.align-right ul ul {
    text-align: left;
  }
  #cssmenu ul li,
  #cssmenu ul ul li,
  #cssmenu ul li:hover > ul > li {
    width: 100%;
    height: auto;
    border-top: 1px solid #ccc;
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
  }
  #cssmenu > ul > li,
  #cssmenu.align-center > ul > li,
  #cssmenu.align-right > ul > li {
    float: none;
    display: block;
  }
  #cssmenu ul ul li a {
    padding: 20px 20px 20px 30px;
    font-size: 15px;
    color: #333;
    background: none;
  }
  #cssmenu ul ul ul li a{
    color: #000
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li a:hover {
    color: #5ba7e0;
  }

  #cssmenu ul ul{
    position: relative;
    left: 0;
    right: auto;
    width: 100%;
    margin: 0;
  }
  #menu-line {
    display: none;
  }
  #cssmenu ul ul li {
    background: #fff;
    border-bottom: none;
  }

  #cssmenu #menu-button {
    display: block;
    padding:20px 20px 20px 0;
    color: #000000;
    cursor: pointer;
    font-size: 18px;
    text-transform: uppercase;
    color:#5ba7e0;
    background: url(../images/sz.png) no-repeat right center;
  }

  #cssmenu .submenu-button {
    position: absolute;
    z-index: 10;
    right: 5px;
    top: 0;
    display: block;
    height: 54px;
    width: 100px;
    cursor: pointer;
    background: url(../images/li3.png) no-repeat right center;
  }
   #cssmenu .submenu-opened {
    position: absolute;
    z-index: 10;
    right: 5px;
    top: 0;
    display: block;
    height: 54px;
    width: 100px;
    cursor: pointer;
    background: url(../images/li2.png) no-repeat right center;
  }

}